<?php

define('_TEST_CONTEXT', True);
require_once('Zend/Loader/Autoloader.php');
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->setFallbackAutoloader(true);
include_once(dirname(__FILE__) . '/../../includePaths.php');
set_include_path(
dirname(__FILE__) . PATH_SEPARATOR . get_include_path()
);
require_once(dirname(__FILE__) . '/../ObjectMother.php');

class AllTests extends PHPUnit_Framework_TestSuite
{
	
	protected function setUp()
	{
		$shared['mom'] = new Kpl_ObjectMother; 
		$this->sharedFixture = $shared;
	}
	
	public function __construct() {
		Zend_Auth::getInstance()->setStorage(new Zend_Auth_Storage_NonPersistent);
		$this->setName('WKPL - models');
		   $this->addTestSuite('PersonAccTest');
		$this->addTestSuite('Bill_FinderTest');
		$this->addTestSuite('Auth_Adapter_DbTest');
        $this->addTestSuite('Auth_AclTest');
        $this->addTestSuite('Menu_MenuTest');
        $this->addTestSuite('Menu_ValidatorTest');
        $this->addTestSuite('ExecutorTest');
        $this->addTestSuite('SstModelTest');
        $this->addTestSuite('ReportTest');
        $this->addTestSuite('FilterReportFilenameTest');
        $this->addTestSuite('DocumentTest');
        $this->addTestSuite('AutocompleteTest');
       
        $this->addTestSuite('UtilTest');
        
        
     
        $this->addTestSuite('Form_FactoryTest');
        
	}

    public static function suite()
    {
        $suite = new self();
        return $suite;
    }
}
